package com.xhh.nphm.system.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class BuserDept implements Serializable {

     private String noUnit;
     private String noParent;
     private String noSelf;
     private String deptName;
     private String deptShort;
     private String deptSx;
     private String kindCode;
     private String phoneNO;
     private String areaNo;
     private String areaName;
     private String nameMaster;
     private String nameFinance;
     private int ordNum = 1010;
     private String contactWay;
     private String deptDesc;
     private String remark;
     private int useState = 1;
     @TableLogic
     private int isDel;
     private int spareInt;
     private String spareString;
     private int flagInt;
     private String flagString;
     private int fkint;
     private String fkstring;
     private String underlingDeptlList;
     private String colleagueDeptList;
     private int deptLevel;
     private String circleOfFriends;
     private String parentsDeptNo;
    private String ReservedFieldA;
    private String ReservedFieldB;
    private String ReservedFieldC;
    private List<BuserDept> children = new ArrayList<>();

    public BuserDept() {
    }
    public BuserDept(String noUnit) {
        this.noUnit = noUnit;
    }

    public String getNoUnit() {
        return this.noUnit;
    }    
    public void setNoUnit(String noUnit) {
        this.noUnit = noUnit;
    }
    
    public String getNoParent() {
        return this.noParent;
    }    
    public void setNoParent(String noParent) {
        this.noParent = noParent;
    }
    
    public String getNoSelf() {
        return this.noSelf;
    }    
    public void setNoSelf(String noSelf) {
        this.noSelf = noSelf;
    }
    
    public String getDeptName() {
        return this.deptName;
    }    
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
    
    public String getDeptShort() {
        return this.deptShort;
    }    
    public void setDeptShort(String deptShort) {
        this.deptShort = deptShort;
    }
    
    public String getDeptSx() {
        return this.deptSx;
    }    
    public void setDeptSx(String deptSx) {
        this.deptSx = deptSx;
    }
    
    public String getKindCode() {
        return this.kindCode;
    }    
    public void setKindCode(String kindCode) {
        this.kindCode = kindCode;
    }
    
    public String getPhoneNO() {
        return this.phoneNO;
    }    
    public void setPhoneNO(String phoneNO) {
        this.phoneNO = phoneNO;
    }
    
    public String getAreaNo() {
        return this.areaNo;
    }    
    public void setAreaNo(String areaNo) {
        this.areaNo = areaNo;
    }
    
    public String getAreaName() {
        return this.areaName;
    }    
    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }
    
    public String getNameMaster() {
        return this.nameMaster;
    }    
    public void setNameMaster(String nameMaster) {
        this.nameMaster = nameMaster;
    }
    
    public String getNameFinance() {
        return this.nameFinance;
    }    
    public void setNameFinance(String nameFinance) {
        this.nameFinance = nameFinance;
    }
    
    public int getOrdNum() {
        return this.ordNum;
    }    
    public void setOrdNum(int ordNum) {
        this.ordNum = ordNum;
    }
    
    public String getContactWay() {
        return this.contactWay;
    }    
    public void setContactWay(String contactWay) {
        this.contactWay = contactWay;
    }
    
    public String getDeptDesc() {
        return this.deptDesc;
    }    
    public void setDeptDesc(String deptDesc) {
        this.deptDesc = deptDesc;
    }
    
    public String getRemark() {
        return this.remark;
    }    
    public void setRemark(String remark) {
        this.remark = remark;
    }
    
    public int getUseState() {
        return this.useState;
    }    
    public void setUseState(int useState) {
        this.useState = useState;
    }
   
    public int getIsDel() {
        return this.isDel;
    }    
    public void setIsDel(int isDel) {
        this.isDel = isDel;
    }

    public int getSpareInt() {
        return this.spareInt;
    }    
    public void setSpareInt(int spareInt) {
        this.spareInt = spareInt;
    }
    
    public String getSpareString() {
        return this.spareString;
    }    
    public void setSpareString(String spareString) {
        this.spareString = spareString;
    }
    
    public int getFlagInt() {
        return this.flagInt;
    }    
    public void setFlagInt(int flagInt) {
        this.flagInt = flagInt;
    }
    
    public String getFlagString() {
        return this.flagString;
    }    
    public void setFlagString(String flagString) {
        this.flagString = flagString;
    }
    
    public int getFkint() {
        return this.fkint;
    }    
    public void setFkint(int fkint) {
        this.fkint = fkint;
    }
    
    public String getFkstring() {
        return this.fkstring;
    }    
    public void setFkstring(String fkstring) {
        this.fkstring = fkstring;
    }

    public String getUnderlingDeptlList() { return underlingDeptlList; }
    public void setUnderlingDeptlList(String underlingDeptlList) { this.underlingDeptlList = underlingDeptlList; }

    public String getColleagueDeptList() { return colleagueDeptList; }
    public void setColleagueDeptList(String colleagueDeptList) { this.colleagueDeptList = colleagueDeptList; }

    public int getDeptLevel() {
        return deptLevel;
    }
    public void setDeptLevel(int deptLevel) {
        this.deptLevel = deptLevel;
    }

    public String getCircleOfFriends() {
        return circleOfFriends;
    }
    public void setCircleOfFriends(String circleOfFriends) {
        this.circleOfFriends = circleOfFriends;
    }

    public String getParentsDeptNo() {
        return parentsDeptNo;
    }
    public void setParentsDeptNo(String parentsDeptNo) {
        this.parentsDeptNo = parentsDeptNo;
    }

    public String getReservedFieldA() {
        return ReservedFieldA;
    }
    public void setReservedFieldA(String reservedFieldA) {
        ReservedFieldA = reservedFieldA;
    }

    public String getReservedFieldB() {
        return ReservedFieldB;
    }
    public void setReservedFieldB(String reservedFieldB) {
        ReservedFieldB = reservedFieldB;
    }

    public String getReservedFieldC() {
        return ReservedFieldC;
    }
    public void setReservedFieldC(String reservedFieldC) {
        ReservedFieldC = reservedFieldC;
    }

    public List<BuserDept> getChildren() {
        return children;
    }

    public void setChildren(List<BuserDept> children) {
        this.children = children;
    }

    public void addChild(BuserDept child) {
        this.children.add(child);
    }


    @Override
    public String toString() {
        return "BuserDept{" +
                "noUnit='" + noUnit + '\'' +
                ", noParent='" + noParent + '\'' +
                ", noSelf='" + noSelf + '\'' +
                ", deptName='" + deptName + '\'' +
                ", deptShort='" + deptShort + '\'' +
                ", deptSx='" + deptSx + '\'' +
                ", kindCode='" + kindCode + '\'' +
                ", phoneNO='" + phoneNO + '\'' +
                ", areaNo='" + areaNo + '\'' +
                ", areaName='" + areaName + '\'' +
                ", nameMaster='" + nameMaster + '\'' +
                ", nameFinance='" + nameFinance + '\'' +
                ", ordNum=" + ordNum +
                ", contactWay='" + contactWay + '\'' +
                ", deptDesc='" + deptDesc + '\'' +
                ", remark='" + remark + '\'' +
                ", useState=" + useState +
                ", isDel=" + isDel +
                ", spareInt=" + spareInt +
                ", spareString='" + spareString + '\'' +
                ", flagInt=" + flagInt +
                ", flagString='" + flagString + '\'' +
                ", fkint=" + fkint +
                ", fkstring='" + fkstring + '\'' +
                ", underlingDeptlList='" + underlingDeptlList + '\'' +
                ", colleagueDeptList='" + colleagueDeptList + '\'' +
                ", deptLevel=" + deptLevel +
                ", circleOfFriends='" + circleOfFriends + '\'' +
                ", parentsDeptNo='" + parentsDeptNo + '\'' +
                ", ReservedFieldA='" + ReservedFieldA + '\'' +
                ", ReservedFieldB='" + ReservedFieldB + '\'' +
                ", ReservedFieldC='" + ReservedFieldC + '\'' +
                '}';
    }
}